package cn.jxau.fukin.util;

import java.util.HashMap;
import java.util.Map;

public class ConstantUtil {
	
	public final static  Map<String,Integer> deadlineMap = new HashMap<String,Integer>();
	
	/** 三个月 */
	public final static String THREEMONTHS = "三个月";
	/** 半年 */
	public static String HALFYEAR = "半年";
	/** 一年 */
	public final static String ONEYEAR = "一年";
	/** 两年 */
	public final static String TWOYEARS = "两年";
	/** 三年 */
	public final static String THREEYEARS = "三年";
	/** 五年 */
	public final static String FIVEYEARS = "五年";

	/** 活期 */
	public final static String CURRENT = "活期";
	/** 活期 */
	public final static String PERIODICAL = "活期";
	/** 存款 */
	public final static String DEPOSIT = "存款";
	/** 取款 */
	public final static String WITHDRAWALS = "取款";
	
	/** 成功 */
	public final static String SUCCESS = "success";
	/** 失败 */
	public final static String 	ERROR = "error";
	
	static {
		deadlineMap.put(THREEMONTHS, 3);
		deadlineMap.put(HALFYEAR, 6);
		deadlineMap.put(ONEYEAR, 12);
		deadlineMap.put(TWOYEARS, 24);
		deadlineMap.put(THREEYEARS, 36);
		deadlineMap.put(FIVEYEARS, 60);
	};
}
